//
//  YBRequestManager.h
//  ShangHaiHuDongApp
//
//  Created by apple on 17/8/8.
//  Copyright © 2017年 刘应平. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NetWorkingManager.h"

@interface YBRequestManager : NSObject

//登录请求数据
+(void)request_loginRequestForCacheWithSuccessBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//已接收消息
+(void)request_acceptMessageListWithPage:(NSString *)page successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;


//删除历史消息
+(void)request_deleteMessageWithMessageID:(NSString *)messageID successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//撤回发布消息
+(void)request_returnMessageWithMessageID:(NSString *)messageID successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//删除发布消息
+(void)request_deletePushMessageWithMessageID:(NSString *)messageID successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//消息详情
+(void)request_messageDetailWithMessageID:(NSString *)messageID successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//拆阅消息
+(void)request_readMessageWithMessageID:(NSString *)messageID successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//获取自定义小组列表
+(void)request_customGroupListWithSuccessBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;


//创建或修改自定义小组
+(void)request_changeOrAddCustomGroupWithGroupID:(NSString *)groupID deptName:(NSString *)deptName users:(NSArray *)users successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//根据关键字搜索人员
+(void)request_searchPeopleWithKeyWord:(NSString *)keyWord successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//删除自定义分组
+(void)request_deleteCustomGroupWithDeptId:(NSString *)deptId successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//已发布消息
+(void)request_releaseMessageListWithPage:(NSString *)page successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//未阅读人员列表
+(void)request_unReadMsgPeopleListWithMsgId:(NSString *)msgId successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//发送短信提醒
+(void)request_sendSMSNoticeWithMsgId:(NSString *)msgId msgContent:(NSString *)msgContent sendTime:(NSString *)sendTime peoplesId:(NSString *)peoplesId successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//会议回执元素
+(void)request_meetingReturnItemListWithSuccessBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//创建回执单
+(void)request_createReturnCardWithActId:(NSString *)actId attrs:(NSArray *)attrs successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;
//已发布会议
+(void)request_releaseMeetingListWithPage:(NSString *)page successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//会议详情
+(void)request_releaseMeetingDetailWithHyId:(NSString *)hyId successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//撤回发布会议
+(void)request_returnMeetingWithHyId:(NSString *)hyId successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//删除发布会议
+(void)request_deleteMeetingWithHyId:(NSString *)hyId successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//会议未报名人员列表
+(void)request_unSignInMeetingPeopleListWithHyId:(NSString *)hyId successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//会议发送短信提醒
+(void)request_sendSMSNoticeMeetingWithHyId:(NSString *)hyId msgContent:(NSString *)msgContent sendTime:(NSString *)sendTime peoplesId:(NSString *)peoplesId  successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//报名人员列表
+(void)request_signInMeetingPeopleListWithHyId:(NSString *)hyId successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//删除报名人员信息
+(void)request_deleteSignInMeetingPeopleListWithPeopleArray:(NSArray *)peopleArray actId:(NSString *)actId successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;
///更新用户信息
+(void)request_updateUserInfo_dict:(NSDictionary *)dict successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//提醒后台可以发送通知
+(void)request_noticeCanSendPushNotificationWithSuccessBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//撤销提醒列表
+(void)request_noticeBackListWithSuccessBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//读取撤销信息
+(void)request_readNoticeBackWithMsgId:(NSString *)msgId successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;


//获取更新版本信息
+(void)request_upDateInfoWithSuccessBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;
@end
